package com.xyht.sca_s.student_manage_system.modules.dormitory.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xyht.sca_s.student_manage_system.common.commonReturn.ResponseResult;
import com.xyht.sca_s.student_manage_system.modules.dormitory.entity.SmsDormitoryType;
import com.xyht.sca_s.student_manage_system.modules.dormitory.entity.req.SmsDormitoryTypeAddReq;
import com.xyht.sca_s.student_manage_system.modules.dormitory.entity.req.SmsDormitoryTypeDeletedReq;
import com.xyht.sca_s.student_manage_system.modules.dormitory.entity.req.SmsDormitoryTypeUpdateReq;

/**
 * <p>
 * 宿舍类型管理表 服务类
 * </p>
 *
 * @author XYHT
 * @since 2024-01-15
 */
public interface SmsDormitoryTypeService extends IService<SmsDormitoryType> {

    ResponseResult addDormitoryType(SmsDormitoryTypeAddReq addReq, String userId);

    ResponseResult deletedDormitoryType(SmsDormitoryTypeDeletedReq deletedReq);

    ResponseResult updateDormitoryType(SmsDormitoryTypeUpdateReq updateReq);

    ResponseResult getDormitoryTypeList(Integer pageNum, Integer pageSize, String name);
}
